package com.neu.api.service.impl;

import com.neu.api.dto.CustomerDTO;
import com.neu.api.mapper.AddressMapper;
import com.neu.api.mapper.CustomerMapper;
import com.neu.api.pojo.Customer;
import com.neu.api.service.AddressService;
import com.neu.api.service.CustomerService;
import com.neu.api.vo.AddressVO;
import com.neu.api.vo.CustomerVO;
import com.sun.xml.internal.ws.wsdl.writer.document.http.Address;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.util.DigestUtils;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
@Slf4j
public class AddressServiceImpl implements AddressService {


    @Resource
    private AddressMapper addressMapper;


    @Override
    public List<AddressVO> find() {
        return addressMapper.find();
    }
}
